import request from '@/utils/request'
import qs from "querystring"
export default{
    //分页查询
    getFindSecAddsList(pageNum,pageSize){
        return request({
            url:"/api-operate/seckill/adds/getSecAddsPages",
            method:"get",
            params:{
                pageNum,
                pageSize
            }
        })
    },

    //筛选查询
    getFindSecAddsTwoList(pageNum,pageSize,goodsName){
        return request({
            url:"/api-operate/seckill/adds/getSecAddsTwoPages",
            method:"get",
            params:{
                pageNum,
                pageSize,
                goodsName
            }
        })
    },

    //跳转添加
    getAddToItemList(ids){
        var data=qs.stringify({ids})
        return request({
            url:"/api-operate/seckill/adds/getAddToItem",
            method:"post",
            data
        })
    }
}